Skip to content

Conversation

@adhityamamallan
Copy link
Member

@adhityamamallan adhityamamallan commented Oct 23, 2025

Summary

  • Add expandable table for showing failover versions per cluster attribute, for active-active domains.
  • Moved domain-page-metadata-failover-version logic into config

Test plan

Added unit tests + ran locally.

Fewer than 4 cluster attributes:

Screenshot 2025-10-23 at 14 00 48

More than 4 cluster attributes:

Screenshot 2025-10-23 at 14 01 06 Screenshot 2025-10-23 at 14 01 01

In the legacy metadata table:

Screenshot 2025-10-23 at 14 07 48

@adhityamamallan adhityamamallan marked this pull request as ready for review October 28, 2025 10:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds an expandable failover version table for Active-Active domains, displaying failover versions per cluster attribute. The implementation moves the failover version rendering logic from a dedicated component into the metadata table configuration files, and introduces a new component specifically for rendering Active-Active domain failover versions in a table format.

Key Changes:

  • Replaced simple text rendering with an interactive table component for Active-Active domains
  • Consolidated failover version rendering logic into config files using createElement
  • Added expandable table with "Show all" functionality when entries exceed 4 items

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
domain-page-metadata-failover-version.tsx Removed entire component - logic moved to config
domain-page-metadata-failover-version.test.tsx Removed tests for deleted component
domain-page-metadata-failover-version-active-active.types.ts Added type definition for failover version table entries
domain-page-metadata-failover-version-active-active.tsx New component rendering expandable table of failover versions
domain-page-metadata-failover-version-active-active.styles.ts Added styling and table overrides for the new component
domain-page-metadata-failover-version-active-active.constants.ts Defined truncation threshold constant
domain-page-metadata-failover-version-active-active.test.tsx Comprehensive tests for the new table component
domain-page-metadata-table.config.ts Updated to conditionally render new component for Active-Active domains
domain-page-metadata-extended-table.config.ts Updated to conditionally render new component for Active-Active domains

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Adhitya Mamallan <[email protected]>
@adhityamamallan adhityamamallan merged commit 830b05e into cadence-workflow:master Oct 28, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants